home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network CD 2
/
Network CD - Volume 2.iso
/
programs
/
internet
/
dnet
/
dnet2.10.13.lha
/
DNet
/
Amiga
/
Sourcen.lha
/
lib
/
deof.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-01-14
|
354 b
|
24 lines
/*
* DEof.C
*/
#include "lib.h"
void
DEof(_chan)
void *_chan;
{
CHANN *chan = (CHANN *)_chan;
IOSTD ior;
ior.io_Command = DNCMD_EOF;
ior.io_Unit = (void *)chan->chan;
ior.io_Offset = (long)chan;
ior.io_Message.mn_ReplyPort = (PORT *)chan;
PutMsg(chan->dnetport, (MSG *)&ior);
WaitMsg(&ior);
FixSignal(chan);
}